package com.mailbox.mailbox.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.mailbox.mailbox.domain.User;
import com.mailbox.mailbox.domain.Visitor;
import com.mailbox.mailbox.mapper.VisitorMapper;
import com.mailbox.mailbox.service.VisitorService;
import com.mailbox.mailbox.util.ResponseResult;
import com.mailbox.mailbox.util.SendEmail.VerCodeGenerateUtil;
import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Service;
import org.springframework.util.DigestUtils;

import javax.annotation.Resource;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
* @author Administrator
* @description 针对表【visitor】的数据库操作Service实现
* @createDate 2022-06-04 23:23:05
*/
@Service
public class VisitorServiceImpl extends ServiceImpl<VisitorMapper, Visitor>
    implements VisitorService {

    @Resource
    VisitorMapper visitorMapper;
    @Resource
    PasswordEncoder passwordEncoder;


    @Override
    public ResponseResult register(String phoneNumber, String password, String chekPassword, String username, String email) {
        return null;
    }
}




